﻿
@{
    ViewBag.Title = "提现详情";
    Layout = "~/Views/Shared/DetailsInfoLayout.cshtml";
}

@section CSS{
    <style>
        .content .row { font-family: '微软雅黑','Microsoft YaHei'; }
        .content .row .i_details_title { margin: 0 auto; text-align: center; padding: 30px; }
        .content .row .i_details_title .i_main { margin: 10px auto; border-bottom: #cdcdcd solid 1px; padding-bottom: 30px; }
        .content .row .i_details_title .i_main .red_txt { color: red; font-size: 30px; }
        .content .row .i_details_title .i_main .green_txt { color: green; font-size: 30px; }
        .content .form-group span { color: #666; padding-left: 50px;display:block;float:left;width:130px; }
    </style>
}
<section class="content">
    <div class="row">
        <div class="col-md-12 i_details_title">
            @(Model != null && Model.status == 4 ?"拒绝":"")提现 — 到@(Model == null ? "" : Model.bank_name) （@(Model == null ? "" : Model.bank_cardno.Length > 4 ? Model.bank_cardno.Substring(Model.bank_cardno.Length - 4) : Model.bank_cardno) ）
            @if (Model != null && Model.status == 4 )
            {
                <div class="i_main"><span class="green_txt">+ @(Model == null ? "" : (Model.money + Model.fee).ToString("F2"))</span> 元</div>

            }
            else
            {
                <div class="i_main"><span class="red_txt">- @(Model == null ? "" : (Model.money+ Model.fee).ToString("F2")) </span> 元</div>

            }
        </div>
        <div class="col-md-12">
            <div class="form-group">
                <span>当前状态：</span>
                <label>@(Model == null ? "" : (Model.status == 1 ? "提现中" : (Model.status == 3 ? "提现成功" : "拒绝提现")))</label>
            </div>
            <div class="form-group">
                <span>提现金额：</span>
                <label>￥ @(Model == null ? "" : Model.money.ToString("F2")) 元</label>
            </div>
            <div class="form-group">
                <span>手 续 费：</span>
                <label>￥ @(Model == null ? "" : Model.fee.ToString("F2")) 元</label>
            </div>
            <div class="form-group">
                <span>提现银行：</span>
                <label>@(Model == null ? "" : Model.bank_name) </label>
            </div>
            <div class="form-group">
                <span>申请时间：</span>
                <label>@(Model == null ? "" : Model.add_time.ToString("yyyy-MM-dd HH:mm:ss")) </label>
            </div>
            @if (Model != null && Model.status == 3)
            {
                <div class="form-group">
                    <span>到账时间：</span>
                    <label>@(Model == null ? "" : Model.handling_time) </label>
                </div>

            }
            @if (Model != null && Model.status == 4)
            {
                <div class="form-group">
                    <span>审核时间：</span>
                    <label>@(Model == null ? "" : Model.handling_time) </label>
                </div>
                <div class="form-group">
                    <span>拒绝原因：</span>
                    <label>@(Model == null ? "" : Model.remark) </label>
                </div>
            }
            <div class="form-group">
                <span>流水编号：</span>
                <label>@(Model == null ? "" : Model.withdrawal_no) </label>
            </div>
        </div>
    </div>
</section>
@section JS{

    <script type="text/javascript">
        $(function () {

        })

    </script>
}

